Fix pytables expressions with Python 3.9
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 12 Jan 2021 21:06:04 +0000 (21:06 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 12 Jan 2021 21:06:04 +0000 (21:06 +0000)
commit4be52f97eae3130bff8718e6a348b9d92e6a6d0c
treeb27a1e3261e17d80e61e76daa9f896d9b2522d6f
parent427fd2dbea86e3d8394da05857ddc55bd9dd76c9
Fix pytables expressions with Python 3.9

ast.Index has been replaced by a bare value, so we need to do the
conversion from Constant to int

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/972015
Forwarded: https://github.com/pandas-dev/pandas/issues/37217

Gbp-Pq: Name python39_compat.patch
pandas/core/computation/pytables.py